﻿using System;
using System.Collections.Generic;
using System.Text;
using Kitware.VTK;

namespace Fu3DEngine
{
   public class PolyDataAtom
    {
      public vtkPolyData m_Data;
      public vtkPolyDataMapper m_Mapper;
      public vtkActor m_Actor;
      public vtkLookupTable m_Lt;

       public PolyDataAtom()
       {
           //不想让它因空报错，还是让它报错呢？
          // m_Data = vtkPolyData.New();

           m_Mapper = vtkPolyDataMapper.New();
           m_Actor = vtkActor.New();



           m_Lt = vtkLookupTable.New();
           m_Mapper.SetLookupTable(m_Lt);

           m_Actor.SetMapper(m_Mapper);
       }


        ~PolyDataAtom()
       {
         
       }





    }
}
